from pydantic import BaseModel 

class SingleShortUrlCreate(BaseModel):
    long_url: str  # 长链地址
    short_url: str = 'http://127.0.0.1:8000/' # 短链生成前缀
    visits_count: int = 0  # 访问次数，默认0 
    short_tag: str = '' # 短链标签，默认’‘
    create_by: str = '' # 默认不传，通常在后端进行生成处理
    msg_context: str
